package com.bjpowernode.service;

import com.bjpowernode.entity.TActivity;
import com.bjpowernode.query.ActivityQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 *
 */
public interface ActivityService {
    PageInfo<TActivity> getActivityByPage(Integer current, ActivityQuery activityQuery);

    int save(ActivityQuery activityQuery);

    TActivity getActivityById(Integer id);

    int updataUserById(ActivityQuery activityQuery);

    int removeActivityById(Integer id);

    int batchDeleteActivitysByIds(List<Integer> idList);

}
